import { combineReducers, legacy_createStore as createStore } from "redux";
import MedicatReducer from "./MedicatReducer/MedicatReducer"
import MemoReducer from "./MemoReducer/MemoReducer";
import MsgReducer from "./MsgReducer/MsgReducer";

export const reducers = combineReducers({
    MedicatReducer,
    MemoReducer,
    MsgReducer
});

const store = createStore(reducers)

export default store;